don't create fictious course and speed values. (#1031)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Tue, 7 Mar 2023 20:32:44 +0000 (13:32 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2023 20:32:44 +0000 (13:32 -0700)
commit8abddb00d75802c9b64882256a1d77623844139c
treec322592f9dd508382fb29a94c2c8318288e033c6
parenta8db69b51c0f4fa86fbd531d49a22671db2c111a
don't create fictious course and speed values. (#1031)

We compute coures and speed in track_recompute, which is used
by the kml and gtrnctr writers.  We also compute these in the track
filter with the course speed options.

Both of these algorithums compute the course and speed for a point
based on the time and position of that point and a previous point.
Given that no information from the future is used, the course and
speed of the first point cannot be determined.  This PR introduces
a change so a fictious value for the first point is not generated.
14 files changed:
reference/LineStyles.kml
reference/earth-expertgps-track.kml
reference/earth-expertgps.kml
reference/realtime.kml
reference/track/bounds-test-track.kml
reference/track/gpx_garmin_extensions-kml_track.kml
reference/track/segmented_tracks-track.kml
reference/track/segmented_tracks.kml
reference/track/trackfilter_merge~gpx.gpx
reference/track/trackfilter_trk2seg~gpx.gpx
reference/track/tracks~gpx.kml
reference/track/utm_subsecond_track~csv.csv
route.cc
trackfilter.cc